package com.ruoyi.model.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.model.manager.domain.TableNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TableMapper extends BaseMapper<Object> {


    List<Map<String, Object>> getTableColumns(@Param("tableName") String tableName);

    List<Object> getTableColumnsData(@Param("table") TableNode table, @Param("limit") int limit);

}